Add dependency and aggregate config.