Remove old code generate.