Remove unused interfaces.