Refactored editors.

Changed class variables to instance variables.