Changes to the random generator.