Cleaning up dependency list.