[Truffle] refactor UnresolvedDispatchNode
[Truffle] more refactorings
[Truffle] Formatting.