add skeletal handling of thrift schema