Tried some stuff with avro macros.