Changed the TOC generations.