Documentation fix

The method is add_hook_type, not define_hook.