Added automatic model validation.
Added validation for the manager models.