# Functions

AddHook add a func to run when RunHooks is invoked.
ContainsHook returns true if a hook with the specified hook tag was added.
RunHooks runs all hooks and clears the hooks list.