function DataStoreStage.AddSavingCallback(n,G)assert(type(G)=="\102\117\110\099\116\105\111\110","\066\097\100 \099\097\108\108\098\097\099\107")table.insert(n._savingCallbacks,G)return function()n:RemoveSavingCallback(G)end end
--[=[
	Adds a callback to be called before save. This may return a promise.
	@param callback function -- May return a promise
	@return function -- Call to remove
]=]
function DataStoreStage:AddSavingCallback(callback)
	assert(type(callback) == "function", "Bad callback")

	table.insert(self._savingCallbacks, callback)

	return function()
		self:RemoveSavingCallback(callback)
	end
end
