Storing a pointer to a state is no longer needed