Changes required to compile with ARC.
Merge pull request #2 from ryanjohnston/convert-to-arc

Changes required to compile with ARC.