Remove map not used anymore.
Utilize SourceHook methods to manage hooks.