Too lazy. I'm going to clean up code gen in a follow-up to make it more modular.