Add JCompatibility