Added Cursor class.