 
      - returns: A new configuration instance.
      */
-    public init(location: Location = .Left, style: Style = .Plain, text: Text = .Cancel) {
+    public init(location: Location = .Left, style: Style = .Plain, text: Text = .SystemItem(.Cancel)) {
         self.location = location
         self.style = style
         self.text = text

extension DismissButtonConfig.Text {
    var systemItem: UIBarButtonSystemItem? {
        switch self {
        case .Cancel:
            return .Cancel
        case .Done:
            return .Done
        case .Save:
            return .Save
        default:
            return nil
        }

    }
}

/// Extensions for `UIBarButtonItem`. 
public extension UIBarButtonItem {
     /**
     Initializes a new bar button item using the specified configuration.
