Get rid of pexpect dependencies