def METHOD_NAME(self, *args, **kwargs):  # pylint: disable=unused-argument
    """ Save the CourseMode objects to the database. """
    if self.verification_deadline is not UNDEFINED:
        # Override the verification deadline for the course (not the individual modes)
        # This will delete verification deadlines for the course if self.verification_deadline is null
        VerificationDeadline.set_deadline(self.id, self.verification_deadline, is_explicit=True)
    for mode in self.modes:
        mode.course_id = self.id
        mode.mode_display_name = self.get_mode_display_name(mode)
        mode.METHOD_NAME()
    deleted_mode_ids = [mode.id for mode in self._deleted_modes]
    CourseMode.objects.filter(id__in=deleted_mode_ids).delete()
    self._deleted_modes = []