Adding new api for Document, early stage