Added step container parameters to the hook functions