Adding function documentation to RNG