Removes deprecated paragraphs.