Collapsed Hook checks to the proper handler calls.
Various areas in the code had if statements checking for the existence of hood functions, and then calling them. Kommandant has methods which do this more compactly. Reposurgeon not uses these methods.