Update the Swift code to be compatible with Swift 1.1.