Added set cursor.