Fix deprecations for twitter gem 5