Updates due to Swift syntax changes in Xcode 6 Beta 5