Fixed integration with refaker (rebased)

The last patch was broken, so I've reworked the issue after rebasing the latest changes.
I don't understand, why?

Tests are passing on CI correctly...