Switch from core to data.generators for random numbers so that *rnd* can be specified.