Added validatable class to provide consistent validation for Beans and Models.