Fixed a bug in the ordering of types within an Avro protocol definition; types are now properly listed only after other named types upon which they depend.