function Registry.RegisterDefaultCommands(b,l)local A=type(l)=="\116\097\098\108\101"if A then l=Util.MakeDictionary(l)end b:RegisterCommandsIn(b.Cmdr.DefaultCommandsFolder,A and function(b)return l[b.Group]or false end or l)end

function Registry:RegisterDefaultCommands (arrayOrFunc)
	local isArray = type(arrayOrFunc) == "table"

	if isArray then
		arrayOrFunc = Util.MakeDictionary(arrayOrFunc)
	end

	self:RegisterCommandsIn(self.Cmdr.DefaultCommandsFolder, isArray and function (command)
		return arrayOrFunc[command.Group] or false
	end or arrayOrFunc)
end
