Add getTree to TreeWalk for locating the current iterator instance