Store old callbacks and reattach them on detach()