Adds #undefs to the end of the file.