Set public access to historyStats and stats API.