Auto-completes route endings.