[Truffle] Update for new wrapper API.