 	
 	import weave.api.WeaveAPI;
 	import weave.api.copySessionState;
+	import weave.api.getSessionState;
+	import weave.api.setSessionState;
 	import weave.api.data.IKeySet;
 	import weave.api.data.IQualifiedKey;
-	import weave.api.getSessionState;
-	import weave.api.setSessionState;
 	import weave.compiler.StandardLib;
 	import weave.core.LinkableVariable;
 	

	{
		public function KeySet()
		{
			super(Array);
			// The first callback will update the keys from the session state.
			addImmediateCallback(this, updateKeys);
		}
		
		/**

					if (value[keyTypeProperty] != null && value[keysProperty] != null)
						value = WeaveAPI.CSVParser.createCSVToken(value[keyTypeProperty]) + ',' + value[keysProperty];
			}
			// backwards compatibility -- parse CSV String
			if (value is String)
				value = WeaveAPI.CSVParser.parseCSV(value as String);
			
			// expecting a two-dimensional Array at this point
			super.setSessionState(value);
		}
		
