A better name for this method would be validate_fields.