Fix java package exclusion for interface calculations.