Updated code to Xcode 5.0 (5A1413)