Added Six for for dict.items() compatibility with Py2 and Py3.