Improve routing configuration.