Use a C++ anonymous namespace instead of C style statics.