Fix to be jruby-compatible