Fix: transformer is generating broken code for validators.