Replaced schedule module with sched.scheduler.