Job generator accepts refs as well