Remove diagnostics.