Move all path stuff to another visitor.