rdoc/: Cleanup and fixes.

Closes #6.