Begin index-shell's implementation.