ObjC generation robustness