Refactor schedulers, remove schedulers, use generic scheduler.