Added plot.getTree