Moved traverser creation into a factory