Added support for serial ports