Hooks is a class that manages all the hooks set throughout the framework. Hooks are useful to attach actions to other actions, or to alter the execution thread without changing the code.