Remove some warning with Ruby 2.2