Remove redundant call to keys()