Improved the way we set our editors' context menu.