Rename validate to validate_patch