Added defining error messages on a property