Method implementation (DocumentFetchFunction)