remove obsolete references to hooking mechanism