Convert gif and stf to use new routing api.