Clear up dependancies