removing and simplifying dependencies