make sudo.Container invoke removedFromParent when a child defines it