Adding support for a custom search widget.