Add a getString() method to Random.