Deprecate remaining Java-specific stuff