simplify CategoryLeaf construction