Code cleanup

Cleaned up the unnecessary definitions for frontmatter and mainmatter
that were borrowed from the book class.