Do we need to create a new class for this? Can we just instantiate `types.ModuleType` and update the object's `__dict__`?