Add methods for editor