#9 Added persistence for sets