Add some alternative extensions for C++