Add Model#validate() and some helper methods