Fix XCode warnings on ->isA