Add the relationship tables.