Connection.__init__(): set document_class