chunkGenerator prototype.