Simplify the setting of some defaults.