Added *args and **kwargs to constructor of worker