OO.ui.mixin.IconElement.prototype.setIconElement = function ( $icon ) {
    if ( this.$icon ) {
        this.$icon
            .removeClass( 'oo-ui-iconElement-icon oo-ui-icon-' + this.icon )
            .removeAttr( 'title' );