Added the scheduler class.