Module#addDependency checks on the argument are performed as assertions.