Support for old versions of ruby.