Add serial adaptor and error handling.