Implemented SerialCommunication.