add support for destroying nested models