Added missing attributes to ValidatingModel and fixed performValidation().