Remove some unnecessary editor code