mods to work with thrift 0.9.0 - take two