Improvements to transitive closure file generation.