Updated for new Tree parameters.