Custom index accessor for string needs todo