get rid of PEP8 errors about private module functions

Monkey-patching modules with private functions? Priceless!