Remove deprecation warnings until v2.1

@brasmusson this works around the travis / jruby issue