Road to support nested namespace scopes

It's not working yet.