Why do you need the `(*IndexResponse)` typecast here?