Accept related objects when creating instance #247