Updated to support Xcode 6.1 GM Swift changes.