Fix broken build, and change numerical enum of stats to string based enum