Added hooks for system reset