Removing dead generated code.