This will overwrite `k` and `v` in the calling scope, which could be bad.