Additional functionality for the 'RandomGen' class.