Thanks a lot for your answer.
When I look at your code, I realize that it’s what I do, but the difference is that I call individual functions/methods for the transformation, not a class. So I guess that by being instantiated in the class, the Random function will be set/get locally and then not impacted if the DataLoader does the same.
I am going to try it, thanks.