made willYield a class method so it can be called before constructing a Stepper instance
removed some dead code