Added compability with Objective-C++.