Small optimization .keys.each => .each_key