Implement some basic preferences.