iOS 8.0 warnings fix.