Removes unused routes