Start to make Avro type checks optional