docs: private void dispose(Collection<?> elements) {
          // Dispose all disposable elements
          for (Object element : elements) {
              if (element instanceof Disposable) {
                  ((Disposable) element).dispose();
              }
          }
  
          // Clear collection
          dataProviders.clear();
      }