Implemented compatibility with Objective-C++.