Changed inheritance of editor to reduce the need for copy&paste