Some preparation for C++ header library.