Added rdoc to database methods