Make chart-state an atom.