Moved dependency checking logic to job.register_dependencies().