     if true {
       let selector = #selector(layoutSubviews)
       let origIMP = class_getMethodImplementation(self, selector)
-      typealias IMPType = @convention(c) (UILabel, Selector) -> ()
-      let origIMPC = unsafeBitCast(origIMP, to: IMPType.self)
-      let block: @convention(block) (UILabel) -> () = { label in
+      typealias IMPType = @convention(c) (UILabel, Selector) -> Void
+      let origIMPC = unsafeBitCast(origIMP, to: IMPType.self)
+      let block: @convention(block) (UILabel) -> Void = { label in
         guard
           let item = UIMenuController.shared.findImageItemByTitle(label.text),
           let image = item.imageBox.value

    if true {
      let selector = #selector(setter: frame)
      let origIMP = class_getMethodImplementation(self, selector)
      typealias IMPType = @convention(c) (UILabel, Selector, CGRect) -> ()
      let origIMPC = unsafeBitCast(origIMP, to: IMPType.self)
      let block: @convention(block) (UILabel, CGRect) -> () = { label, rect in
        let isImageItem = UIMenuController.shared.findImageItemByTitle(label.text)?.imageBox.value != nil
        let rect = isImageItem ? label.superview?.bounds ?? rect : rect
        origIMPC(label, selector, rect)

    if true {
      let selector = #selector(drawText(in:))
      let origIMP = class_getMethodImplementation(self, selector)
      typealias IMPType = @convention(c) (UILabel, Selector, CGRect) -> Void
      let origIMPC = unsafeBitCast(origIMP, to: IMPType.self)
      let block: @convention(block) (UILabel, CGRect) -> Void = { label, rect in
        guard
          let item = UIMenuController.shared.findImageItemByTitle(label.text),
          let _ = item.imageBox.value
