Delete hooks during module's stop.