updated return type to \Widget\WidgetInterface