Add 'preStepCallback' and 'postStepCallback' options for customize the step callback