Handling related objects in optail