[Truffle] Add core methods needed to run Richards.