Adding consistent method for beans validations.