Changes to class TimeSchedule.