Factory must be self-contained, like threads.spawn; use the supplied constructor rather than imports.
Factory must be self-contained, like threads.spawn; use the supplied constructor rather than imports.