refactor: stricter worker constructor arguments check