Fix up an error with type versus types and constraints properties.