Simplify TOC generation and avoid creating `"Methods" Methods` headers