Changed the class Random.