Did some work on the addRelationship method.