Made replace(a,b) on AbstractDatastore abstract.