Renamed DocEditor to Editor, since it no longer knows about Docs, and
moved mutationObserverOptions to a constructor argument.