Added some validation snippets for models