Flushing unneeded dependancies