This change adds more information to ModelAttributes, so that metadata providers can look at the attributes on the property and type separately if so desired