Happy to turns this into `.items()` instead of `iteritems()` to prevent the messiness below.