Support template_string in route.