first argument of ServerHook is unused