Adds fancy routing.