Xcode 6.1 Swift compatibility fixes.