Remove SchedulerUtils: no longer needed.
Use IllegalArgumentException to check arguments in scheduler.