Added a serial class.