Make state variables be stateful.