Made a small tweak to populateDefaults.