From Objective-C to Swift. To optimize.