Add support for serial-devices option.