Add unit for editor