Changed context of event calls to be the widget itself, which is more convenient for the API consumer.