Added code for default empty schedules.