Updated for Cocoapods support