Or at the very least, make the module-global variables static.