public Document unpackDocument(PackedDocument packedDocument)
 {
     Document unpackedDocument = packedDocument.document;
     return unpackedDocument;
 }
 public PackedDocument packDocument(Document newDocument)
 {
     PackedDocument packedDocument = new PackedDocument { document = newDocument };
     return packedDocument;
 }