Added RegisterHooks::hooks() for multiple registrations in one call. Added register_hooks_example module.