`Worker` constructor cannot be called as function