I think this should be located in SchedulerSpec instead