Adds a table of contents