Implementing a feature  to delete documents stored by the scope serializer (#1251)