Update docstring and logging output. Remove iteritems for py3k compatibility.