The correct type of Routes is PathTree[List[Any] => Etc]

It's converted into a function from List[String] => whatever by
PathTree#apply.