Implemented collections' save/restore state