Tons of code gen work