Remove unused arrays.