Allow `randint` generator to be passed
0.3.2