Add support for Objective-C and Objective-C++

Includes test.