Dict.keys() does not return a list in Python 3.