Update widget 'rewdeer' method for not override 'class' attribute