Clean some obsolete serial communication code