[INTERNAL] Changes internal structure of traversal to allow continuing a traversal in a different context.