      - returns: StringStylizer<Styling>
      */
     open func link(_ url: URL) -> StringStylizer<Styling> {
-        _attributes[.link] = url as AnyObject?
+        _attributes[.link] = url as Any
         let stylizer = StringStylizer<Styling>(attributedString: _attrString, range: _range, attributes: _attributes)
         return stylizer
     }

     - returns: StringStylizer<Styling>
     */
    open func karn(_ value: Double) -> StringStylizer<Styling> {
        _attributes[.kern] = value as AnyObject?
        let stylizer = StringStylizer<Styling>(attributedString: _attrString, range: _range, attributes: _attributes)
        return stylizer
    }

        let value = _style.reduce(0) { (sum, elem) -> Int in
            return sum | elem.rawValue
        }
        _attributes[.underlineStyle] = value as Any
        _attributes[.underlineColor] = rgb.flatMap { self.rgb($0, alpha: alpha) }
        let stylizer = StringStylizer<Styling>(attributedString: _attrString, range: _range, attributes: _attributes)
        return stylizer
