Added some documentation for the cursor functions.