[Generator] Added CreateVatStages implementation.