Add assertion about dependencies.