Adapt routes