 	import mx.rpc.AsyncToken;
 	
 	import weave.api.reportError;
+	import weave.compiler.Compiler;
 
 	/**
 	 * This is an extension of Servlet that deserializes AMF3 result objects and handles special cases where an ErrorMessage is returned.

		 */
		override public function invokeAsyncMethod(methodName:String, methodParameters:Object = null):AsyncToken
		{
			var pt:ProxyAsyncToken = new ProxyAsyncToken(super.invokeAsyncMethod, arguments, readCompressedObject);
			pt.invoke();
			return pt;

	 * @author adufilie
	 */	
	public class AMF3Servlet extends Servlet
	{
		public static var debug:Boolean = false;
		
		/**
		 * @param servletURL The URL of the servlet (everything before the question mark in a URL request).
		 * @param methodParamName This is the name of the URL parameter that specifies the method to be called on the servlet.
