Removed deprecation to fix Cocoapods.