Set up models relationships.