Clean up new random.

Docs and refactor into normal class.