Cleaning up main loop and link_product_dependency.