Design XHViewState class