Call step unload function in the right context