Get rid of check_depends