Added missing definition of editor