Added mock for shell.