Adding ToC, summary collapse and stuff.