support nested namespaces