Check for correct method name in run_hook