Remove legacy stat_vars setup