Collapsed some unneeded methods in the AvroType companion object.