Moved state_path out of dictionary.