Moving random generator into drivers.