add the `removeChildren` method to Tree and TreeView