SAFE = 4 is deprecated in Ruby 2.1