store: remove more unused code