What were slaves and others of African ancestry classified by what term