Added extra_modules option to Scheduler.