Cursor adapter.