Add the cursor dependency