Make it more jruby friendly