Now compatible with jruby.