Add DocumentProvider to CorpusEditor