Conversion to namespaces