iteritems -> items for Python3 compatibility.