Switched to using class << base as per suggestion by marcandre in Pull Request https://github.com/ruby/ruby/pull/581