This is automatically set when item is added to diagnostics object.
public IDiagnostics Diagnostics { get; set; }