code: func NewCategory(name string) *Category {
  	return &Category{
  		Name:               name,
  		childrenMap:        make(map[string]ConsoleElement),
  		children:           make([]ConsoleElement, 0),
  		cachedNumLeafNodes: -1,
  	}
  }
docs: // NewCategory allocates a new Category struct with no children.