Register all hooks into the profiler.

This makes debugging slightly easier as developers can now see when/where their hooks are executed.