Allows extensions to grab the raw pointer to the generation. (i.e. jucor/torch-randomkit)