Add support for passing options with a pathPrefix