Upgraded to ARC
Added Xcode 6 support.
Fixed potential retain cycle.