Convert the Galaxy namespace to a class.