code: func assertRecordSchema(s Schema) *RecordSchema {
  	rs, ok := s.(*RecordSchema)
  	if !ok {
  		rs = &s.(*preparedRecordSchema).RecordSchema
  	}
  	return rs
  }
docs: // For right now, until we implement more optimizations,
  // we have a lot of cases we want a *RecordSchema. This makes it a bit easier to deal with.