Remove property definitions for error messages