Fixed so it compiles iOS7 + Xcode5 compilation.

Changed #pragma to #pragma mark
Removed an unused function