Add support for C++ namespaces