Fixes to random.