Update code after Swift update

Swift lang update with Xcode 6-beta3 release