Implemented new HookDefinition interface