Forgot to include hook.h/hook.c in previous commit