Remove superfluous sections.