Externalize routes