Add treeNode creator.