Add validation for type of Fields.