Add get document and remove document type