Added replacement functionality. Tombstones get created upon publish.