Externalize the Python module to prevent NS pollution