Support Xcode6.1 Swift syntax