Move the ConfigEditor-creating stuff into a static method on ConfigEditor.
Always use the new ConfigEditor.create().