                 if (excludeObject[p] == 1)
                     continue;
                     
-                if (!options.includeTransient && internalHasMetadata(metadataInfo, p, "Transient"))
+                if (!includeTransients && internalHasMetadata(metadataInfo, p, "Transient"))
                     continue;
                 
                 if (uris != null)

                else
                {
                    var classInfo:Object = getClassInfo(value, exclude,
                        { includeReadOnly: true, uris: namespaceURIs });
                        
                    var properties:Array = classInfo.properties;
                    

            var uris:Array = options.uris;
            var uri:String;
            var qName:QName;
			var includeTransients:Boolean;
			
			includeTransients = options.hasOwnProperty(includeTransient) && options.includeTransient;
			
            for (i = 0; i < length; i++)
            {
                prop = properties[i];
