Fixed some bugs in, and document data.random