`iteritems`  isn't valid in Python3. Probably ok to just use `.items()` here (which is an iterator in Python3), since the in Python2 the list won't be long enough for us to care. If you really want to get an iterator in both major versions of python, use `PY3.iteritems(self.loaded)` here, since our Python3 compatibility module is already imported at the top here.