Renamed function in random module.