Don't delete the StateMonitor.indices instance attribute, it is necessary for runtime