Added class methods and ri/rdoc files