Fix error for worker classes with no arguments
@mikhail.karnevskiy Could you please check that the error is indeed fixed, because I didn't have a time to create a test case yet?
@mikhail.karnevskiy Could you please check that the error is indeed fixed, because I didn't have a time to create a test case yet?