Adds relationships