             set(value, forKey: key.rawValue)
         }
     }
+    #endif
     
     subscript(key: Key) -> Data? {
         get { return data(forKey: key) }

        }
    }

    subscript(key: Key) -> CGFloat? {
        get { return cgFloat(forKey: key) }
        set {

        return nil
    }

    #if canImport(CoreGraphics)
    func cgFloat(forKey key: Key) -> CGFloat? {
        if let value = float(forKey: key) {
            return CGFloat(value)
