Adds CRUD support for relationships.