Replacing scaffolds with generated code.