Remove format part of route.