[Truffle] Work on encoding specs.