Objective-C++ compatibility.