- setting a module or any other object attribute is the majority by far. In some cases the setting itself is deferred but most of the time we want to set at the same time we add the cleanup.
- there multiple occurrences of protecting hooks or ui factory which are now useless (the test framework takes care of that now),
- there was some lambda uses that can now be avoided.
That first cleanup already simplifies things a lot.