Added a removeAllChildren method