Fancier C++/ObjC APIs to avoid C API with simple usage.
NSString instead of cstr for ObjC.