Reverting callback code