Hooks handlers in service config, path parameter in register method