Creation of a IState implementation.