Works with Ruby 2