Add support for generating dependencies.