Yes, you always want to do this in C++ to deal with global types