Adds static random number generator.