[Truffle] Move more state into the shared method object.
[Truffle] Use some properties from the shared method instead of passing them around.