Added saving and loading.