Makes index work.