This reverts commit d01b4eb0 (PR #25784).
This implementation has many limitations/issues.
Closes #27395 (closed)