keys() isn't a list in Python 3.