Added relationships between models.