Interesting. I wonder how it worked before without a done flag (empty keys to signal end?). Anyway, I better finish looking at the code that uses it to fully grasp the PB fields.