Just a little helper to create a state much more easily.