expose `ObjectEditor.refresh()` to fix #7