      - Parameter frame: The frame of the final BadgedBarButtonItem
      - Parameter title: The title of the BadgedBarButtonItem. Optional. Defaults to nil.
      - Parameter image: The image of the BadgedBarButtonItem. Optional.
-    */
-    open func createInternalButton(frame: CGRect,
+     */
+    public func createInternalButton(frame: CGRect,
                                    title: String? = nil,
                                    image: UIImage?) -> UIButton {
         

        
        return btn
    }
}

// MARK: - Public Functions
public extension BadgedBarButtonItem {
    
    /**
     Programmatically adds a target-action pair to the BadgedBarButtonItem
    */
    public func addTarget(_ target: AnyObject, action: Selector) {
        self.target = target
        self.action = action
    }
}


        badgeLabel.textColor = badgeProperties.textColor
        badgeLabel.backgroundColor = badgeProperties.backgroundColor
    }
}

// MARK: - Public Functions
public extension BadgedBarButtonItem {
    
    /**
     Programmatically adds a target-action pair to the BadgedBarButtonItem
    */
    public func addTarget(_ target: AnyObject, action: Selector) {
        self.target = target
        self.action = action
    }
    
    /**
     Creates the internal UIButton to be used as the custom view of the UIBarButtonItem.
