Use items() for Python 3 compat