Added output type selection, and a NSString choice for Objective-C.