Made sure that dependencies are not added twice