Swift fixes for API change in Xcode 6 Beta 7