Update deprecated iOS7 things flagged by Xcode.