function DataStoreStage._afterLoadGetAndApplyStagedData(b,d,R,v)if b._dataToSave and b._dataToSave[d]~=nil then if b._dataToSave[d]==DataStoreDeleteToken then return v else return b._dataToSave[d]end elseif b._stores[d]then if b._stores[d]:HasWritableData()then local v=b._stores[d]:GetNewWriter()local x=Table.deepCopy(R[d]or{})v:WriteMerge(x)return x end end if R[d]==nil then return v else return R[d]end end
-- Protected!
function DataStoreStage:_afterLoadGetAndApplyStagedData(name, data, defaultValue)
	if self._dataToSave and self._dataToSave[name] ~= nil then
		if self._dataToSave[name] == DataStoreDeleteToken then
			return defaultValue
		else
			return self._dataToSave[name]
		end
	elseif self._stores[name] then
		if self._stores[name]:HasWritableData() then
			local writer = self._stores[name]:GetNewWriter()
			local original = Table.deepCopy(data[name] or {})
			writer:WriteMerge(original)
			return original
		end
	end

	if data[name] == nil then
		return defaultValue
	else
		return data[name]
	end
end
