Fixes a bug in dependencies.