Adds Diagnostic argument to DependencyGraphProducer methods