Remove redundant .keys() for slight speedup