Add checks for dependencies