Added front matter, back matter and chapter type classes for TOC.