[Truffle] Uniform guards for type.