Changed the way statsTr directive is compiled.