Modify inlet to work better with multiple editors.