Would it hurt anything to use `type == "shard"` here?