[Truffle] Finally fix where top level methods are defined.