Removes state, since it is not used anymore