Revert "removed autogens"

This reverts commit 53f170462c0282fa4c5beb2d1eb17ae7d3f3107e.