Make add_defaults() return a new dict rather than mutating one.