function Registry.GetTypeNames(P)local N={}for P in pairs(P.Types)do N[#N+1]=P end return N end
--- Returns an array of the names of all registered types (not including aliases)
function Registry:GetTypeNames()
	local typeNames = {}

	for typeName in pairs(self.Types) do
		typeNames[#typeNames + 1] = typeName
	end

	return typeNames
end
