Resolving of nested namespaces