[PR] Provide a way to vary the headers picked up in the TOC