Remove unused functions, divisors and outer_zip