Reimplement model editor logic.