Added methods to support StatGenerator