Fix HandlerFactory after breaking changes in ratpack-core.