Adding RDoc generation helpers.
Adding documentation for the code.