Support iOS 6: Treat OS object as cocoa object.