Start of adding a state class.