Issue with unused definitions

I’d be cautious about using refinements.

  1. If we add the method you’ll run into conflicts.
  2. We run automated analysis tools on extensions shipped to Extension Warehouse - making sure they don’t modify the API namespace. I’m not sure we can reliably tell the difference between that and refinements. It’s a good chance you’d be flagged and rejected.
  3. This is doable with standalone methods that takes the definition as a parameter - safe from any potential conflicts.