Remove SerialPort dependency