   public static var serviceMalformedServiceDictionaryError: CocoaError.Code {
     return CocoaError.Code(rawValue: 66564)
   }
+  @available(*, deprecated, renamed: "serviceMiscellaneousError")
+  public static var serviceMiscellaneous: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66800)
+  }
+  @available(*, deprecated, renamed: "sharingServiceNotConfigured")
+  public static var sharingServiceNotConfiguredError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 67072)
+  }
+}
+
+extension CocoaError {
+  public static var textReadInapplicableDocumentType: CocoaError.Code {
+    return CocoaError.Code(rawValue: 65806)
+  }
+  public static var textWriteInapplicableDocumentType: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66062)
+  }
+  public static var serviceApplicationNotFound: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66560)
+  }
+  public static var serviceApplicationLaunchFailed: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66561)
+  }
+  public static var serviceRequestTimedOut: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66562)
+  }
+  public static var serviceInvalidPasteboardData: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66563)
+  }
+  public static var serviceMalformedServiceDictionary: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66564)
+  }
+  public static var serviceMiscellaneous: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66800)
+  }
+  public static var sharingServiceNotConfigured: CocoaError.Code {
+    return CocoaError.Code(rawValue: 67072)
+  }
+}
+
+// Names deprecated late in Swift 3
+extension CocoaError {
+  @available(*, deprecated, renamed: "textReadInapplicableDocumentType")
+  public static var textReadInapplicableDocumentTypeError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 65806)
+  }
+  @available(*, deprecated, renamed: "textWriteInapplicableDocumentType")
+  public static var textWriteInapplicableDocumentTypeError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66062)
+  }
+  @available(*, deprecated, renamed: "serviceApplicationNotFound")
+  public static var serviceApplicationNotFoundError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66560)
+  }
+  @available(*, deprecated, renamed: "serviceApplicationLaunchFailed")
+  public static var serviceApplicationLaunchFailedError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66561)
+  }
+  @available(*, deprecated, renamed: "serviceRequestTimedOut")
+  public static var serviceRequestTimedOutError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66562)
+  }
+  @available(*, deprecated, renamed: "serviceInvalidPasteboardData")
+  public static var serviceInvalidPasteboardDataError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66563)
+  }
+  @available(*, deprecated, renamed: "serviceMalformedServiceDictionary")
+  public static var serviceMalformedServiceDictionaryError: CocoaError.Code {
+    return CocoaError.Code(rawValue: 66564)
+  }
   @available(*, deprecated, renamed: "serviceMiscellaneous")
   public static var serviceMiscellaneousError: CocoaError.Code {
     return CocoaError.Code(rawValue: 66800)

  public static var serviceMalformedServiceDictionary: CocoaError.Code {
    return CocoaError.Code(rawValue: 66564)
  }
  public static var serviceMiscellaneous: CocoaError.Code {
    return CocoaError.Code(rawValue: 66800)
  }
  public static var sharingServiceNotConfigured: CocoaError.Code {

}

extension CocoaError {
  public var isServiceError: Bool {
    return code.rawValue >= 66560 && code.rawValue <= 66817
  }
