change WebDocumentSource construction api