Remove codes for Ruby 1.8