Automatic changes from Xcode due to deprecated API usage.