Fixing some other things for ARC support and compiler warnings.