Also, shouldn't this be under the `if (this.mode !== 'command')` test below. Shouldn't this method do nothing if we are already in command mode?