Removing Ruby 1.8 specific code