Add persistence for primary