Add kwargs when creating a widget.