Added getCurrentTokenTree to get a token's tree within a helper