Index: _source/core/editor.js
===================================================================
--- _source/core/editor.js	(revision 5302)
+++ _source/core/editor.js	(working copy)
@@ -505,13 +505,6 @@
 			if ( this._.filebrowserFn )
 				CKEDITOR.tools.removeFunction( this._.filebrowserFn );
 
-			items = editor.config.elementsPath_filters;
-			if ( items )
-			{
-				for ( index= 0 ; index < items.length ; index++ )
-					items[ index ] = null;
-			}
-
 			this.fire( 'destroy' );
 			CKEDITOR.remove( this );
 			CKEDITOR.fire( 'instanceDestroyed', null, this );
Index: _source/plugins/elementspath/plugin.js
===================================================================
--- _source/plugins/elementspath/plugin.js	(revision 5302)
+++ _source/plugins/elementspath/plugin.js	(working copy)
@@ -44,7 +44,7 @@
 
 			var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_';
 
-			editor._.elementsPath = { idBase : idBase };
+			editor._.elementsPath = { idBase : idBase, filters : [] };
 
 			editor.on( 'themeSpace', function( event )
 				{
@@ -56,17 +56,15 @@
 					}
 				});
 
-			var filters = editor.config.elementsPath_filters;
-
 			editor.on( 'selectionChange', function( ev )
 				{
-					var env = CKEDITOR.env;
-
-					var selection = ev.data.selection;
-
-					var element = selection.getStartElement(),
+					var env = CKEDITOR.env,
+						selection = ev.data.selection,
+						element = selection.getStartElement(),
 						html = [],
-						elementsList = this._.elementsPath.list = [];
+						editor = ev.editor,
+						elementsList = editor._.elementsPath.list = [],
+						filters = editor._.elementsPath.filters;
 
 					while ( element )
 					{
@@ -114,9 +112,9 @@
 									( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ?
 									' onfocus="event.preventBubble();"' : '' ) +
 									' hidefocus="true" ' +
-									' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', this.name, '\',', index, ', event);"' +
+									' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', editor.name, '\',', index, ', event);"' +
 									extra ,
-									' onclick="return CKEDITOR._.elementsPath.click(\'', this.name, '\',', index, ');"',
+									' onclick="return CKEDITOR._.elementsPath.click(\'', editor.name, '\',', index, ');"',
 									' role="button" aria-labelledby="' + idBase + index + '_label">',
 										name,
 										'<span id="', idBase, index, '_label" class="cke_label">' + label + '</span>',
@@ -204,16 +202,3 @@
 	}
 };
 
-/**
- * A list of filter functions to determinate whether an element should display in elements path bar.
- * @type Array Array of functions that optionaly return 'false' to prevent the element from displaying.
- * @default  []
- * @example
- *	// Prevent elements with attribute 'myAttribute' to appear in elements path.
- *	editor.config.elementsPath_filters.push( function( element )
- *	{
- *		if( element.hasAttribute( 'myAttribute') )
- *			return false;
- *	});
- */
-CKEDITOR.config.elementsPath_filters = [];
Index: _source/plugins/scayt/plugin.js
===================================================================
--- _source/plugins/scayt/plugin.js	(revision 5302)
+++ _source/plugins/scayt/plugin.js	(working copy)
@@ -46,7 +46,6 @@
 			oParams.customDictionaryIds = editor.config.scayt_customDictionaryIds || '';
 			oParams.userDictionaryName = editor.config.scayt_userDictionaryName || '';
 			oParams.sLang = editor.config.scayt_sLang || "en_US";
-			
 
 			var scayt_custom_params = window.scayt_custom_params;
 			if ( typeof scayt_custom_params == 'object')
@@ -56,10 +55,10 @@
 					oParams[ k ] = scayt_custom_params[ k ];
 				}
 			}
-			
+
 			if ( scayt_control_id )
 				oParams.id = scayt_control_id;
-			
+
 			var scayt_control = new window.scayt( oParams );
 
 			// Copy config.
@@ -124,8 +123,11 @@
 			});
 
 
-		editor.on( 'destroy', function()
+		editor.on( 'destroy', function( ev )
 			{
+				var editor = ev.editor,
+					scayt_instanse = plugin.getScayt( editor );
+
 				scayt_control_id = scayt_instanse.id;
 				plugin.getScayt( editor ).destroy( true );
 			});
@@ -133,7 +135,7 @@
 		editor.on( 'afterSetData', function()
 			{
 				if ( plugin.isScaytEnabled( editor ) ) {
-					window.setTimeout( function(){ plugin.getScayt( editor ).refresh() }, 10 );
+					window.setTimeout( function(){ plugin.getScayt( editor ).refresh(); }, 10 );
 				}
 			});
 
@@ -149,7 +151,7 @@
 						editor.getSelection().unlock( true );
 
 					// Swallow any SCAYT engine errors.
-					window.setTimeout( function(){ scayt_instance.refresh() }, 10 );
+					window.setTimeout( function(){ scayt_instance.refresh(); }, 10 );
 				}
 			}, this, null, 50 );
 
@@ -165,9 +167,9 @@
 						editor.getSelection().unlock( true );
 
 					// Swallow any SCAYT engine errors.
-					
-					window.setTimeout( function(){ scayt_instance.refresh() },10 );
-					
+
+					window.setTimeout( function(){ scayt_instance.refresh(); },10 );
+
 				}
 			}, this, null, 50 );
 
@@ -239,7 +241,7 @@
 				},
 				this,
 				null,
-				0 
+				0
 			);	// First to run.
 
 			this.engineLoaded = -1;	// Loading in progress.
@@ -475,7 +477,7 @@
 
 						var scayt_control = plugin.getScayt( editor ),
 							node = scayt_control.getScaytNode();
-						
+
 						if ( !node )
 							return null;
 
@@ -609,10 +611,13 @@
 				editor.on( 'showScaytState', showInitialState );
 				plugin.loadEngine( editor );
 			}
+		},
 
+		afterInit : function( editor )
+		{
 			// Prevent word marker line from displaying in elements path. (#3570)
 			var elementsPathFilters;
-			if ( elementsPathFilters = editor.config.elementsPath_filters )
+			if ( editor._.elementsPath && ( elementsPathFilters = editor._.elementsPath.filters ) )
 			{
 				elementsPathFilters.push( function( element )
 				{
@@ -620,8 +625,8 @@
 						return false;
 				} );
 			}
+		}
 
-		}
 	});
 })();
 
@@ -656,7 +661,7 @@
  */
 
 /**
- * Sets the customer ID for SCAYT. Required for migration from free version 
+ * Sets the customer ID for SCAYT. Required for migration from free version
  * with banner to paid version.
  * @name CKEDITOR.config.scayt_customerid
  * @type String
@@ -732,7 +737,7 @@
 
 /**
  * Links SCAYT to custom dictionaries. It's a string containing dictionary ids
- * separared by commas (","). Available only for licensed version. 
+ * separared by commas (","). Available only for licensed version.
  * Further details at http://wiki.spellchecker.net/doku.php?id=custom_dictionary_support .
  * @name CKEDITOR.config.scayt_customDictionaryIds
  * @type String
