Removed unnecessary indices.