Fixed explosion on module load because Stats wasn't defined yet.