Remove unneeded dependancies