Add scheduler.