Improve TOC code formatting.