Continued refactoring LecturesController.