Add documentation for random