Change guard class (base class (not inherited))
Put type info in emit_eq