Add comments to tree.h to explain private and public.