headerText() was in the docs, but not the code. I needed it, so I added it.
I also needed a way to specify the item class, so I added itemClass()– I was using fieldset legends as headers, and that didn't allow me a way to specify a hierarchy. By making it a callback I can set data attributes on the legend and use those in the class instead of the tag name.