Ported thrift package over to 0.9