Added code for reflective avro types.