Added return statement to addRelation methods so the joined object can be modified.