Work around Rubinius-specific code.