How to sample from `RandomGeneratorType` or `RandomStateType`?

Awesome! That makes things much easier. Thank you so much, @ricardoV94!