Updated code around ftdi class.