Make it work in MRI ruby 2.0.0.