add Hooks.method(name) and hooks#method(name)