Added support for nested namespace imports.