This sound like it might be the same issue as WebAssembly and factory method - #7 by mh, or at least related…