Make sure forapi works in stats.