Removes unused nextChapter and previousChapter variables