added plugin interface for registering a widget.