how about make it a MainDocumentInfo static method?