Remove Hash#each_pair from ext to lib.