 import Kanna
 
 extension CoreData {
-  public final class Relationship {
+  public struct Relationship {
     public typealias InverseRelationship = (name: String, entityName: String)
 
     public let name: String

      isTransient: isTransient,
      isToMany: isToMany,
      isOrdered: isOrdered,
      destinationEntity: destinationEntity,
      inverseRelationship: inverseRelationship,
      userInfo: userInfo
    )
  }
}

}

extension CoreData.Relationship {
  init(with object: Kanna.XMLElement) throws {
    guard let name = object[XML.Attributes.name] else {
      throw CoreData.ParserError.invalidFormat(reason: "Missing required relationship name.")
    }
