Improved serial and i/o support