 				for (i = 0; i < newState.length; i++)
 				{
 					typedState = newState[i];
-					objectName = typedState[OBJECT_NAME];
-					className = typedState[CLASS_NAME];
-					sessionState = typedState[SESSION_STATE];
+					objectName = typedState[DynamicState.OBJECT_NAME];
+					className = typedState[DynamicState.CLASS_NAME];
+					sessionState = typedState[DynamicState.SESSION_STATE];
 					var oldTypedState:Object = oldLookup[objectName];
 					delete oldLookup[objectName]; // remove it from the lookup because it's already been handled
 					

				{
					//note: there is no error checking here for typedState
					typedState = oldState[i];
					objectName = typedState[OBJECT_NAME];
					oldLookup[objectName] = typedState;
				}
				if (oldState.length != newState.length)

		 */
		private const _watcherToSynchronizeFunctionMap:Dictionary = new Dictionary(); // use weak links to be GC-friendly
		
		/**
		 * This function computes the diff of two session states.
		 * @param oldState The source session state.
