docstrings for Tree