Implemented Scheduler.js.