Validate the application models

so one can use them in their own models for field validation