Support for JRuby