added a TraversalHelper.replaceStep() method which just uses removeStep/insertStep behind the scenes, but makes it easier for the developer.