code: def write(self, proto):
      
      super(TemporalMemoryShim, self).write(proto.baseTM)
      proto.connections.write(self.connections)
      proto.predictiveCells = self.predictiveCells
docs: Populate serialization proto instance.
  
      :param proto: (TemporalMemoryShimProto) the proto instance to populate