Makes the state part easier.