Add enable/disable methods to Editor and use them.