var paper = new function() {

this.document = null;
this.documents = [];

this.install = function(scope) {
	for (var i in this) {
		scope[i] = this[i];
	}
};

// Inline Base core inside the paper scope first:
//#include "../lib/bootstrap.js"

Base.inject({
	statics: true,

	read: function(args, index, length) {
		var index = index || 0, length = length || args.length - index;
		if (length <= 1) {
			var arg = args[index];
			// Return null when nothing was provided
			if (arg instanceof this || arg == null)
				return arg;
		}
		var obj = new this(this.dont);
		obj = obj.initialize.apply(obj, index > 0 || length < args.length
			? Array.prototype.slice.call(args, index, index + length)
			: args) || obj;
		return obj;
	},

	capitalize: function(str) {
		return str.replace(/\b[a-z]/g, function(match) {
			return match.toUpperCase();
		});
	}
});

//#include "basic/Point.js"
//#include "basic/Size.js"
//#include "basic/Rectangle.js"
//#include "basic/Matrix.js"

//#include "document/DocumentView.js"
//#include "document/Document.js"
//#include "document/Symbol.js"

//#include "item/Item.js"
//#include "item/Group.js"
//#include "item/Layer.js"
//#include "item/Raster.js"
//#include "item/PlacedSymbol.js"
//#include "item/PathStyle.js"

//#include "path/Segment.js"
//#include "path/Curve.js"
//#include "path/PathItem.js"
//#include "path/Path.js"
//#include "path/CompoundPath.js"
//#include "path/Path.Constructors.js"

//#include "color/Color.js"
//#include "color/RGBColor.js"
//#include "color/GrayColor.js"
//#include "color/GradientColor.js"
//#include "color/Gradient.js"
//#include "color/GradientStop.js"

//#include "tool/ToolEvent.js"
//#include "tool/ToolHandler.js"
//#include "tool/Tool.js"

//#include "util/CanvasProvider.js"
//#include "util/Events.js"
//#include "util/Numerical.js"
//#include "util/PaperScript.js"

};

@@ -1,12 +1,420 @@
+/*%0A * Paper.js%0A *%0A * A JavaScript Vector Graphics Library, based on Scriptographer.org and%0A * designed to be largely API compatible.%0A * http://paperjs.org/%0A * http://scriptographer.org/%0A *%0A * Copyright (c) 2011, Juerg Lehni & Jonathan Puckey%0A * http://lehni.org/ & http://jonathanpuckey.com/%0A *%0A * All rights reserved.%0A *%0A * Bootstrap is released under the MIT license.%0A * See LICENSE file for details.%0A */%0A%0A
 var paper = 
@@ -1370,24 +1370,51 @@
 c/Matrix.js%22
+%0A//#include %22basic/Line.js%22
 %0A%0A//#include
@@ -2145,32 +2145,63 @@
 %22tool/Tool.js%22%0A%0A
+//#include %22util/BlendMode.js%22%0A
 //#include %22util

Add copyright / license comment to main file and include Line.js and BlendMode.js in compiled library.