Implemented a Chapters class.