Added getNextLecture and updated documentation.