Adding UniformGenerator class.