Remove duplication around StoreResult