Removed Random.nextInt usages.