Fixed reference errors introduced when adding statsFormatter