Added option for requiring a level 1 heading.