JRuby compatibility & consistency