Sets various bits of hooking related information.
