Add a tree.Leaves() function and correct tree.Size() function.