Added relationships to entities