function Blend.New(D)assert(type(D)=="\115\116\114\105\110\103","\066\097\100 \099\108\097\115\115\078\097\109\101")local K=BlendDefaultProps[D]return function(n)return Observable.new(function(b)local Z=Instance.new(D)if K then for D,K in pairs(K)do Z[D]=K end end local k=Blend.mount(Z,n)k:GiveTask(Z)b:Fire(Z)return k end)end end

function Blend.New(className)
	assert(type(className) == "string", "Bad className")

	local defaults = BlendDefaultProps[className]

	return function(props)
		return Observable.new(function(sub)
			local instance = Instance.new(className)

			if defaults then
				for key, value in pairs(defaults) do
					instance[key] = value
				end
			end

			local maid = Blend.mount(instance, props)
			maid:GiveTask(instance)

			sub:Fire(instance)

			return maid
		end)
	end
end
