Minor API Improvements

Those API improvements will be helpful in an upcoming version of CocoaPods. :wink:
We use in Xcodeproj mainly just `StandardError`.