Added documentation for cursor class.