Move generated code to the end of the file.