Added support for Xcode 5.1. Converted to ARC for Xcode 5.1 compatibility.