VID-370 The old (new) style of registering hooks