Authenticated modules, python-compatible exceptions