Correctly creating TextEditor with the use of mef.