Add TH generation for infix constructors.