compat: explicitly export generated variables