Extensions to JRuby to make java classes behave more like ruby classes