Add model relationships.