Add table of contents and number headings.