Rename parameters to klass instead of class to prevent parsing issues

I didn't get to the root cause of this, but this was not compiling for me using Xcode 5.0.2 and CocoaPods.