Minor API Improvements

Those API improvements will be helpful in an upcoming version of CocoaPods. :wink: