Refactored StepsHandler Class.