Simplified the scheduler trait interface.