Refactoring + open_in_editor.