Fun with code gen