Refactor cucumber steps.