Fixed encoding of classless routes.