sync: Adapt CallMenuHook to API change