Remove unused extensions from ForEach