Define a tree-members function