BATCH-1701: JobScope

This is an updated version of the pull request created by @jpraet.