Added the collecting of statistics to Job.