Removed _target_class property from Editor.

Editor is now always initialized with a target.

Use type(editor.target) instead of editor._target_class.