Add doc for cursor method