added cursor.readPref.