Add support for in-memory and bare indicies.