The API docs say that it does not return a DiagnosticsResult but rather a "object" - is this expected?