add read prefs docs.