Added documentation for R methods and classes