Removes unncessary routes