Add support for connecting related objects to parents.