Adopt new changes in Swift (Xcode 6 Beta 4)