Modify Cursor class