Fix the ts::payload_builder.