This looks weird, as you've removed TransparentSurface:: prefix from k*Index, but left it here