Add subsection and subsubsection handling.