Support of ruby 1.8