cast types added to schemas