function Registry.getAll(r)local f={}for r,a in pairs(r.objects)do f[r]=a end return f end

function Registry:getAll()
	local tab = {}
	for key, object in pairs(self.objects) do
		tab[key] = object
	end
	return tab
end
