This should take a list of the keys, as keys returns a view in Python3.