Comment on Replace getJobType with an instanceof check