Revert "Revert "Revert "codegen"""

This reverts commit 08d6329d10feb05e6013abfaa686572857beb367.