Metaprogram the route