Fix from previous commit applies to Ruby 2.0 as well.