can now add functions to private key modules using 'with'