Adding table of contents generator.