Remove pointless $index loop variable.