Add support for path prefixes.