Remove usless dependencies.