Foster was against slavery and had black friends, both male and female. This was his attempt to show that people are people no matter what the color of their skin is! (Nelly was a black slave girl)