Realize GetDocument and GetDocuments methods