[Truffle] Use a generated method instead of using directly the specialization.