Add a current state class.