Added serializer and input buffer classes.