Added hasDetachedJobs and hasLocalStandardStreams to Scheduler.