Remove unused headings.