Port these methods to DocArray v2
Port these methods to DocArray v2