function Registry.RegisterDefaultCommands(T,Q)local S=type(Q)=="\116\097\098\108\101"if S then Q=Util.MakeDictionary(Q)end T:RegisterCommandsIn(T.Cmdr.DefaultCommandsFolder,S and function(T)return Q[T.Group]or false end or Q)end
--- Registers the default commands, with an optional filter function or array of groups.
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
