rename .idx functions

__I'd like to remove these functions.__ If others agree, I'll close this pull request and open a new one which does exactly that.

If we're to keep these functions I'd like to stop treating them specially. Renaming them will simplify the build script in #618.

I'm not sure what purpose this serves. Does anyone know?