Adjusted "dict" syntax to support single Py2/3 source.