Remove non-important pathways.