removing default None in worker constructor