Remove legacy code

Wouldn't $key => $value be better here?