     private var cachedUniqueID: MIDIUniqueID?
     public var uniqueID: MIDIUniqueID {
         get {
-            if let value = cachedUniqueID { return value }
+            if let value = cachedUniqueID {
+                return value
+            }
             else {
                 let value: MIDIUniqueID = self[kMIDIPropertyUniqueID] ?? 0
                 cachedUniqueID = .some(value)

class Endpoint: MIDIObject {

    /* TODO: a lot of stuff
        deviceRef (parent), device
        isVirtual
        isOwnedByThisProcess needs ownerPID

    private var cachedName: String??
    public var name: String? {
        get {
            if let value = cachedName {
                return value
            }
            else {
                let value: String? = self[kMIDIPropertyName]
                cachedName = .some(value)
