Finishes the table of contents