Compile route.