Terminal interfaces changed to accept the input and index instead of just value.