[Truffle] Make some context-global fields final.