Modified the serial interface.
Initial implementation of the serial interface.