added support for direct use of Avro Schemas