function Registry.GetCommandNames(u)local R={}for u,X in pairs(u.CommandsArray)do table.insert(R,X.Name)end return R end Registry.GetCommandsAsStrings=Registry.GetCommandNames

function Registry:GetCommandNames ()
	local commands = {}

	for _, command in pairs(self.CommandsArray) do
		table.insert(commands, command.Name)
	end

	return commands
end

Registry.GetCommandsAsStrings = Registry.GetCommandNames
