Added a few validate methods and relationship