lydocinfo was keeping a circular reference to a Document...
also present docinfo() in __all__