Extended hash library to support an extra argument for steps