Typo fixes in generated type class subsection