Fix naming inconsistency.
Log cursors are explicitly readonly.
Fix function name in comment.