Why not simply use `getindex(d::DefaultDict, key) = get(d, key, d.default)`?