Define error message classes under ErrorMessages instead of ErrorMessage