Remove gratuitous use of refinements.

Revert to monkey-patching core Ruby classes :-)