Remove legacy classes from the Posts page.