Adds `indicesOf` to obtain all indices.