fix remove and patch return values and doc handling in ::Collection