Removed redundant state class.