Move Diagnostics under Document namespace