Correct class injection
Remove duplicate _index