Can load and save states.