While this works, it would be clearer if it was cast to a StepLocator.