Improved Scheduler API.