Store the scheduler.