Updated the messaging for validate_type