Scafolding for c++ generator.