Add support for route prefixes.