Fixed CLN types error by checking for ObjC