remove .parse and ::toString in favour of ::state and .restore
3.0.0