Added RandomGenerator.