[Truffle] Add hook for requiring.