Added method for getting list of jobs