Add support for dependencies.