Make SerialEventChannel extendable and some other cosmetic changes