Simplified the cursor API.