Turn classes into section headings automatically.