Constructor for Hook class
Name of the hook or hook mapping object
Handler function or object for the hook
Gets a hook handler by name
Name of the hook to retrieve
The hook handler object
Constructor for Hook class