Changed tree interface to match convention