Warkaround for Ruby 1.9.x, 2.0.x