Reworked serial service.