added removeAllElements() to avoid confusion with removeAllChildren()