Jruby compatability