Corrected function call getName() -> getTitle() for Quiz class.