Added new thrift callback