Improve HookProvider which now accept multiple hooks.