Cleaned up Editor._get_attribute_editor().