More inteligent depends resolution.