I **think** I figured this one out.  I added a private ``self._modules = {}`` inside of ``__init__()`` here.  Then just replaced all references to ``sys.modules`` with ``self._modules``.  Finally, just to be sure, I added a ``cleanup()`` method that deletes each ``self._modules`` item, then sets it back to ``None``.  Now I can better at night :D