Initial revision of RandomUtils class.