Cleanup index. Closes #52.