MVC model validator implementation