Use variables for pref names.