Added reset convenience function to RegisterState.