Remove obsolete sections.