add class syntax to headers