introduce dui/Stateful._set and fix the mixins and their test accordingly

I can fix the mixins without dui/Stateful._set but then it would mean that we would have a regression in terms of features compare to what was feasible in 1.x.