Rename setDefaults to setGlobalDefaults not to confuse the two