Pass thrift handler as a function tuple.