Allow to extend global hooks config inline with registration