Need to export WorkerFunc constructor