Saving the type of traversal.