Added persistence

Added persistence - specific to sets only.