Implemented Hook.unregister