 			'chain': methodChainer,
 			'display': DebugUtils.debugDisplayList,
 			'debugCompiler': function(script:String):String { return ObjectUtil.toString(new Compiler().compileToObject(script), null, 'evaluatedMethod,evaluatedHost,evaluatedMethodName,evaluatedParams,evalIndex,originalTokens'.split(',')); },
+			'getState': getSessionState as Function,
+			'setState': setSessionState as Function,
 			'_': {}
 		};
 		

	
	import avmplus.DescribeType;
	
	import weave.api.reportError;
	import weave.compiler.Compiler;
	import weave.compiler.GlobalLib;
	import weave.compiler.ICompiledObject;

	{
		public function ConsoleEngine()
		{
			compiler.includeLibraries(GlobalLib, ObjectUtil, DescribeType, DebugUtils);
			compiler.setHashOperator(debugHelper);
			compiler.setEvalFunction(runCommand);
		}
