Added getters to the widget.