Update syntax as now using Xcode 6.1 and Swift 1.1