Some code style changes in sched_base.