Added remove method in editor