Added rdoc documentation.