Core extensions to MRuby objects, copied e.g. from ActiveSupport