code: public void removeChildren() {
          log.trace("removeChildren of {}", name);
          for (IBasicScope child : children.keySet()) {
              removeChildScope(child);
          }
      }
docs: Removes all the child scopes