Fixing some bugs related to upgrade to JClass 1.0.1