Reimplemented the duplicate store.