Make immutable state for AnyRandomGenerator.