Remove unused arrays