Adds heading fields and group labels.