Improve dependencies checks.