Removed pexpect dependency